package cn.ac.iscas.domain.common;



import java.io.Serializable;
import java.security.Principal;


public class User implements Principal, Serializable {

    private String username;

    private String password;

    private String role;

    @Override
    public String getName() {
        return username;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }


}
